package mousemove;

import java.awt.Color;
import java.awt.Graphics;

public class Player extends Sprite
{	
	public Player(int x, int y, int v)
	{
		super(x>>1, y>>1, v);
		color = Color.CYAN;
		width = 4;
		height = 10;
	}
	
	@Override
	public void draw(Graphics g)
	{
		//System.out.println(currentX + " and " + currentY);
		g.setColor(color);
		g.fillRect((int)currentX, (int)currentY, width, height);
		//System.out.println(currentX + " and " + currentY + "\n");
	}
}
